// ignore_for_file: must_be_immutable

part of 'player_profile_bloc.dart';

/// Abstract class for all events that can be dispatched from the
///Profile widget.
///
/// Events must be immutable and implement the [Equatable] interface.
@immutable
abstract class ProfileEvent extends Equatable {}

/// Event that is dispatched when the Profile widget is first created.
class ProfileInitialEvent extends ProfileEvent {
  final User? user;

  ProfileInitialEvent({required this.user});

  @override
  List<Object?> get props => [];
}



/// Event that is dispatched when the User Profile is Null.
class GetProfileEvent extends ProfileEvent {

  @override
  List<Object?> get props => [];
}


/// Event that is dispatched when the User Profile is Null.
class UpdatePlayerStateEvent extends ProfileEvent {
  final User? user;

  UpdatePlayerStateEvent({required this.user});
  @override
  List<Object?> get props => [];
}